log/slog.handleState.groups (field)
17 uses
log/slog (current package)
handler.go#L272: stateGroups := state.groups
handler.go#L273: state.groups = nil // So ReplaceAttrs sees no groups instead of the pre groups.
handler.go#L307: state.groups = stateGroups // Restore groups passed to ReplaceAttrs.
handler.go#L379: groups *[]string // pool-allocated slice of active groups, for ReplaceAttr
handler.go#L396: s.groups = groupPool.Get().(*[]string)
handler.go#L397: *s.groups = append(*s.groups, h.groups[:h.nOpenGroups]...)
handler.go#L406: if gs := s.groups; gs != nil {
handler.go#L434: if s.groups != nil {
handler.go#L435: *s.groups = append(*s.groups, name)
handler.go#L447: if s.groups != nil {
handler.go#L448: *s.groups = (*s.groups)[:len(*s.groups)-1]
handler.go#L471: if s.groups != nil {
handler.go#L472: gs = *s.groups
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)